###########################
#            PILA         #
###########################

class Pila:

    def __init__(self, elemento) :
        self.pila = [ele]

    def esVacina(self) :

        return len(self.pila) == 0
    
    def insertar(self, x) :
        self.pila.insert(0, x)

    def pop(self) :
        elemento = self.pila[0]
        self.pila.remove(elemento)
        return elemento
    
    def elminar(self) :
        self.pila.remove(self.pila[0])


class Cola :

    def _init__(self,e ) :
        self.contenedor = [e]

    def getelemento(self) :
        elemento = self.contenedor[0]
        self.contenedor.remove(elemento)
        return elemento

    def eliminar(self) :
        self.contenedor.remove(self.contendor[0])
    
